7.5
HIGH CVSS 3.1
CVE-2024-34351
Next.js Server-Side Request Forgery in Server Actions
Description

Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.

INFO

Published Date :

May 14, 2024, 3:38 p.m.

Last Modified :

Sept. 10, 2025, 3:43 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-34351 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Vercel next.js
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2024-34351 has a 38 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-34351 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-34351 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Bingo - AI-powered Red Team Terminal (DeepSeek/Claude/GPT/GLM)

Python PowerShell Shell

Updated: 2 days, 18 hours ago
189 stars 21 fork 21 watcher
Born at : June 12, 2026, 10:26 a.m. This repo has been linked 26 different CVEs too.

AEM Dispatcher Bypass Scanner — Real-time web-based scanner for discovering AEM instances and testing dispatcher bypass vulnerabilities

Python HTML

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : June 6, 2026, 3:52 p.m. This repo has been linked 6 different CVEs too.

how to check/ fix your nextjs version across multiple projects

Python

Updated: 4 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 20, 2026, 11:38 a.m. This repo has been linked 4 different CVEs too.

AiTM credential harvesting research: 9 CVEs, 7 frameworks, ZAP/Burp test suites, interactive demo site

Makefile YARA JavaScript Python Java Dockerfile Shell Go

Updated: 4 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 20, 2026, 12:53 a.m. This repo has been linked 9 different CVEs too.

Elite JS secret hunter and security scanner for red teams and penetration testers. 200+ patterns, WAF bypass, React/Next.js support, SARIF output.

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : May 12, 2026, 1:23 p.m. This repo has been linked 35 different CVEs too.

Dummy Next.js app pinned to vulnerable [email protected] (for testing only)

JavaScript

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 8, 2026, 4:12 p.m. This repo has been linked 3 different CVEs too.

A Claude Code skill bundle for bug hunting and external red-team work — 71 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.

ai-security anthropic application-security bug-bounty bugbounty bugcrowd claude claude-code claude-skills ethical-hacking hackerone offensive-security pentesting red-team security-tools web-security

Shell Python

Updated: 1 week, 4 days ago
1759 stars 264 fork 264 watcher
Born at : May 5, 2026, 11:22 a.m. This repo has been linked 5 different CVEs too.

Autonomous JavaScript Recon, Secret Discovery & Vulnerability Intelligence Engine

Python

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 1, 2026, 7:02 a.m. This repo has been linked 18 different CVEs too.

None

TypeScript Python JavaScript

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : April 12, 2026, 5:26 p.m. This repo has been linked 1 different CVEs too.

A tiny, fast, low-noise pre-deploy security audit for vibe-coded Next.js apps. 9 deterministic checks for Supabase / Stripe / AI-SDK / Vercel-Railway-Fly indie apps. ~80ms, zero deps.

claude-code devsecops indie-hackers nextjs pre-deploy railway security security-audit security-tools stripe supabase vercel

TypeScript JavaScript

Updated: 1 month ago
3 stars 0 fork 0 watcher
Born at : April 8, 2026, 2:33 p.m. This repo has been linked 4 different CVEs too.

Security infrastructure your AI can't be — deterministic, daily CVE intel past your model's training cutoff, whole-repo-aware, author-independent. The security MCP for vibe coding: 438 rules, 37 tools, CLI + doctor for Next.js, Supabase, Clerk, Stripe, Prisma, Drizzle, Hono, AI SDK & MCP.

ai-security claude clerk cursor mcp nextjs owasp prisma sast security stripe supabase typescript vercel vibe-coding cve drizzle hono mcp-server prompt-injection

TypeScript JavaScript

Updated: 1 week, 3 days ago
2 stars 0 fork 0 watcher
Born at : March 30, 2026, 1:38 p.m. This repo has been linked 27 different CVEs too.

Security auditor skill for Claude Code — React + TypeScript + Supabase + Vercel

Updated: 1 day, 23 hours ago
0 stars 0 fork 0 watcher
Born at : March 28, 2026, 5:17 p.m. This repo has been linked 4 different CVEs too.

None

CSS Shell

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : March 18, 2026, 2:19 a.m. This repo has been linked 3 different CVEs too.

A fast, modular Node.js vulnerability scanner designed to detect known CVEs and common security misconfigurations in web applications.

pentesting vulnerability vulnerability-scanners

JavaScript

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : March 13, 2026, 5:34 p.m. This repo has been linked 18 different CVEs too.

None

Python TypeScript

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : March 5, 2026, 2:16 p.m. This repo has been linked 16 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-34351 vulnerability anywhere in the article.

  • Cybersecurity News
Next.js Vulnerability CVE-2024-46982: Cache Poisoning Exploit Threatens Deployments

In the fast-paced world of web development, security is a constant concern, especially for platforms that power high-traffic applications like Next.js. Recently, the Next.js team has disclosed a new v ... Read more

Published Date: Sep 19, 2024 (1 year, 9 months ago)

The following table lists the changes that have been made to the CVE-2024-34351 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 10, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CPE Configuration OR *cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* versions from (including) 13.4.0 up to (excluding) 14.1.1
    Added Reference Type CVE: https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085 Types: Patch
    Added Reference Type CVE: https://github.com/vercel/next.js/pull/62561 Types: Issue Tracking, Patch
    Added Reference Type GitHub, Inc.: https://github.com/vercel/next.js/pull/62561 Types: Issue Tracking, Patch
    Added Reference Type CVE: https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g Types: Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g Types: Vendor Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085
    Added Reference https://github.com/vercel/next.js/pull/62561
    Added Reference https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g
  • CVE Received by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
    Added Description Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.
    Added Reference GitHub, Inc. https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g [No types assigned]
    Added Reference GitHub, Inc. https://github.com/vercel/next.js/pull/62561 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085 [No types assigned]
    Added CWE GitHub, Inc. CWE-918
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.